package hotel.meituan.oversea.biz.mapper;

import feign.Param;
import hotel.base.oversea.repository.MyMapper;
import hotel.meituan.oversea.api.entity.MtHotelGoodsPrice;
import hotel.meituan.oversea.api.entity.MtHotelGoodsPriceLibrary;

import java.util.List;
import java.util.Map;

/**
 * 美团酒店产品价格日历
 * @Author qiuyy
 * @Date 2020/5/19
 **/
public interface MtHotelGoodsPriceMapper extends MyMapper<MtHotelGoodsPrice> {
    Integer deleteBatchByGoodsIds(Map map);

    Integer batchUpdateInsert(@Param("list") List<MtHotelGoodsPrice> list);

    List<MtHotelGoodsPriceLibrary> queryStatMtGoodsPriceLibraryCallback(Map<String, String> map);

    List<MtHotelGoodsPriceLibrary> queryStatMtGoodsPriceLibraryCallbackThisWeek(Map<String, String> map);
}
